/*@import url(https://fonts.googleapis.com/css?family=PT+Sans:300,400,500,600,700&subset=latin,cyrillic);*/
/*:root {
--mx-color-a: #235ad1;
}
*/
*,
*:before,
*:after{
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  color: inherit;
  border: none;
  outline: none;
  background: none;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
*,
*:before,
*:after{
  box-sizing: border-box;
}
html,
body{
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
}
html{
  font-family: "PT Sans Narrow",Arial,sans-serif;
  font-size: 18px;
}
div,
dl,
a{
  user-select: none;
}
a:hover{
  color: var(--mx-color-a);
}
body{
  scroll-snap-type: mandatory;
}
dl{
  scroll-snap-align: start;
}
/* ico-шрифт */
/*a[href^="#popup:"]:after,*/
.ico,
.mx-2 a:after{
  font-family: "im2" !important;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  speak: never;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a[href^="#popup:"]:after{
  font-size: 1rem;font-family: "im2" !important;
  display: inline-block;
  padding-left: .6rem;
  /*content: "\f105";*/
  content: "\f107";
}
.m3 dt,
[class^="mx-"] dt,
h1{
  font-size: 1.8rem;
  font-weight: 400;
  display: block;
  width: 100%;
  padding: 2.4rem .6rem 1.2rem;
  text-align: center;
}
.m3{
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin: 1.2rem auto;
  padding: 0 .6rem;
  list-style: none;
  flex-wrap: wrap;
}
.m3 dd{
  display: flex;
  flex-direction: column;
  box-sizing: border-box; /* чтобы внутренний отступ не влиял когда там будет текст... */
  min-width: 240px; /* мин. ширина блока, чтобы переносились на другой ряд */
  max-width: 100%;
  margin: .6rem;
  padding: .6rem;
  border-radius: 2px;
  box-shadow: 0 12px 24px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
  flex: 1 1 calc(33.33% - 1.2rem); /*отнимем margin и скажем растягиваться */
}
.m3 a{
  display: block;
}
.m3 img{
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: .6rem;
  color: var(--mx-color-a);
  border-radius: 2px;
}
.m3.w img{
  max-height: 240px;
  overflow: hidden;
}
.m3 p{
  max-width: 100%;
}
.m3 b{
  /*Заголовок*/
  font-weight: 500;
  display: block;
  margin-bottom: .6rem;
}
.m3 u{
  font-size: .6em;
  font-weight: 100;
  /*Дата*/
  display: block;
  margin-top: .6rem;
  opacity: .6;
}
ul{
  text-align: left;
}
li{
  margin: 0;
  padding: 0 .6rem .6rem 2.4rem;
}
li:before{
  float: left;
  margin-left: -1.2rem;
  content: "✓";
  /*color: var(--mx-color-a);*/
}
[class^=mx-]{
  font-size: .9rem;
  max-width: 100%;
  margin: 1.2rem 0;
  padding: 1.2rem .6rem  2.4rem;
  text-align: center;
}
[class^=mx-] dd{
  padding: .6rem 0;
}
.mx-a{
  font-size: 1.3rem;
}
.mx-c{
  font-size: .8rem;
  opacity: .9;
}
input,
textarea{
  max-width: 720px;
  padding: .6rem;
  border: 1px solid #cfcfff;
  background: #f3f3ff;
  flex-basis: 100%;
}
.go,
.mx a[href^="#popup:"],
input[type="submit"]{
  font-weight: 600;
  display: table;
  min-width: 200px;
  margin: auto;
  padding: .6rem;
  cursor: pointer;
  text-align: center;
  border: 2px solid #000;
  border-radius: .6rem;
  background: transparent;
  flex-basis: auto;
}
.mx,
.mx-f{
  background: #f0f0f0;
}
.mx-f{
  margin: 1.2rem auto;
}
.mx,
.mx-f dd{
  display: flex;
  padding: .6rem;
  flex-flow: row wrap;
  justify-content: center;
  align-content: stretch;
  align-items: center;
}
.mx-l2 ul{
  display: flex;
  max-width: 960px;
  margin: auto;
  padding: .6rem;
  flex-flow: row wrap;
  justify-content: center;
}
.mx-l2 li{
  flex: 1 1 50%;
}
#dn{
  font-size: .8rem;
  font-weight: 100;
  display: flex;
  margin: 1.8rem 0 0;
  padding: 1.8rem 1.2rem;
  text-align: center;
  color: #999;
  background: #000;
  flex-flow: row wrap;
  justify-content: center;
}
#dn a{
  padding: .6rem;
  flex: 1 1 auto;
}
.mx-q dd{
  display: inline-block;
  text-align: center;
}
.w dd,
[class^="img-"]{
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: background 0.5s ease;
}
.w dd:hover{
  background-size: contain;
  /*background-size: 100% auto;*/
  /*transition: background 0.3s ease;*/
}
[class^="img-f"]{
  display: inline-block;
  width: 120px;
  height: 120px;
  margin: .3rem;
}
.img-f1{
  background-image: url(/olga/f1.jpg);
}
.img-f2{
  background-image: url(/olga/f2.jpg);
}
.img-f3{
  background-image: url(/olga/f3.jpg);
}
.img-f4{
  background-image: url(/olga/f4.jpg);
}
.mx-v iframe,
.mx-v p{
  display: block;
  max-width: 960px;
  margin: 1.2rem auto;
}
.mx-g dd{
  display: inline-block;
}
.mx-g a{
  font-size: 1.5rem;
  display: flex;
  width: 300px;
  height: 150px;
  margin: .3rem;
  color: #fff;
  background-image:    -moz-linear-gradient(top, rgba(0,0,0,.70), rgba(0,0,0,.80));
  background-image: -webkit-linear-gradient(top, rgba(0,0,0,.70), rgba(0,0,0,.80));
  background-image:      -o-linear-gradient(top, rgba(0,0,0,.70), rgba(0,0,0,.80));
  background-image:     -ms-linear-gradient(top, rgba(0,0,0,.70), rgba(0,0,0,.80));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-shadow: 1px 1px #333, 1px -1px #333, -1px 1px #333, -1px -1px #333, 3px 3px 6px rgba(0,0,0,.8);
  justify-content: center;
  align-items: center;
  /*-webkit-filter: brightness(60%);*/
          /*filter: brightness(60%);*/
}
.mx-g a[href$="v-vannuyu"]{
  background-image: url(/olga/1.jpg);
}
.mx-g a[href$="postirochnaya-komnata"]{
  background-image: url(/olga/2.jpg);
}
.mx-g a[href$="garderobnaya-na-zakaz"]{
  background-image: url(/olga/3.jpg);
}
@media screen and (min-width: 900px){
  .mx-q{
      display: flex;
      max-width: 100%;
      padding: .6rem;
      flex-flow: row wrap;
  }
  .mx-q dt{
      width: 100%;
      flex-basis: 100%;
  }
  .mx-q dd{
      min-width: 400px;
      max-width: 100%;
  }
}
.mx-2{
  display: flex;
  max-width: 100%;
  padding: 0 0 .6rem 0;
  flex-flow: row wrap;
  justify-content: center;
}
.mx-2 dd{
  max-width: 100%;
  text-align: center;
  flex: 1 1;
}
.mx-2 a{
  position: relative;
  display: block;
  min-width: 200px;
  max-width: 48ch;
  height: 100%;
  margin: .3rem auto;
  padding: 3rem .6rem 1.2rem;
  border: 2px solid #e3e3e3;
  border-radius: 4px;
}
.mx-2 a:after{
  display: block;
  margin-top: 1.2rem;
  content: "\f107";
}
.mx-2 i{
  font-size: 48px;
  line-height: 92px;
  position: absolute;
  top: -48px;
  left: 50%;
  width: 96px;
  height: 96px;
  margin-left: -48px;
  text-align: center;
  vertical-align: middle;
  border: 2px solid #e3e3e3;
  border-radius: 50%;
  background: #fff;
}
.mx-2 b{
  font-size: 1.8rem;
  display: block;
  padding: .6rem 0;
}
.mx-r dd{
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  justify-content: center;
}
.mx-r b{
  font-size: 1.3rem;
  display: block;
  margin: .6rem 0;
}
.mx-r a{
  line-height: 1.3;
  position: relative;
  min-width: 46%;
  margin: .6rem;
  padding: 216px 1.2rem 1.2rem;
  text-align: left;
  vertical-align: top;
  flex: 1 1 ;
}
.mx-r a:after{
  font-weight: 400;
  display: table;
  min-width: 200px;
  margin: 1.2rem 0;
  padding: .6rem;
  content: "Подробнее";
  cursor: pointer;
  text-align: center;
  border: 2px solid #000;
  border-radius: .6rem;
  background: transparent;
  flex-basis: auto;
}
.mx-r img{
  display: none;
  overflow: hidden;
  max-width: 100%;
}
.mx-r a:before{
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 200px;
  content: "";
  -webkit-transition: opacity .1s linear;
          transition: opacity .1s linear;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mx-r a:nth-child(1):before{
  background-image: url(/olga/u1.jpg);
}
.mx-r a:nth-child(2):before{
  background-image: url(/olga/u2.jpg);
}
.mx-r a:nth-child(3):before{
  background-image: url(/olga/u3.jpg);
}
.mx-r a:nth-child(4):before{
  background-image: url(/olga/u4.jpg);
}
.mx-3 dd{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.mx-3 a{
  font-size: 1.2rem;
  line-height: 1.6rem;
  display: inline-block;
  margin-left: 3.6rem;
  padding: 1.2rem .6rem;
  text-align: left;
  vertical-align: top;
  /*text-decoration: underline;*/
  flex: 1 1;
}
.mx-3 a:before{
  font-size: 1rem;
  float: left;
  margin-left: -2.4rem;
  content: "➤ ";
}
.mx{
  display: flex;
  width: 720px;
  max-width: 100%;
  margin: 3.6rem auto;
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
  justify-content: center;
  align-items: center;
}
.mx dt{
  font-size: 1.8rem;
  font-weight: 400;
}
.mx dt,
.mx ul{
  display: block;
  width: 100%;
  padding: 1.2rem 0;
}
.mx a[href^="#popup:"]{
  margin: 1.2rem auto;
}
/* #POPUP */
.mx{
  display: none !important;
  transition: all 3s ease-in-out;
  pointer-events: none;
}
.mx:target{
  display: block !important;
  transition: all 3s ease-in-out;
  pointer-events: auto;
}
dd:empty:after{
  content: "¤";
  color: red;
}
.m0{
  line-height: 1.2;
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  flex-flow: row wrap;
  align-items: stretch;
  align-content: stretch;
}
.m0 b{
  font-size: 2rem;
  margin-top: 1.8rem;
}
.m0 p{
  margin-top: 1.2rem;
}
.m0 dd,
.m0 dt{
  flex: 1 1 50%;
}
.m0 .go{
  font-size: 1rem;
  display: inline-block;
  min-width: 260px;
  max-width: 100%;
  margin: .6rem;
}
.m0 dd{
  display: flex;
  padding: .6rem;
  justify-content: center;
  flex-flow: column wrap;
}
.m0 dt{
  display: block;
  min-width: 240px;
  max-width: 600px;
  min-height: 320px;
  max-height: 667px;
  margin: 0;
  padding: 0;
  background-image: url(/olga/olga.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
@media screen and (min-width: 1000px){
  .m0 dt{
      width: 600px;
      height: 667px;
  }
}
.m0 + dl{
  margin-top: 0;
}
dl:nth-child(2n){
  background: #f0f0f0;
}
@media screen and (orientation: portrait){
  html{
      font-size: 14px;
  }
  .mx-l2 li{
      display: block;
      width: 100%;
  }
}
.youtube{
  position: relative;
  display: inline-block;
  overflow: hidden;
  cursor: pointer;
  transition: all 200ms ease-out;
  background-repeat: no-repeat;
  background-position: center;
}
.youtube .play{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 69px;
  height: 50px;
  margin: auto;
  transition: none;
  background: url("/olga/youtube-play-btn.png") no-repeat;
  background-position: 0 -50px;
  -webkit-background-size: 100% auto;
          background-size: 100% auto;
}
.youtube:hover .play{
  background-position: 0 0;
}